home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / v cisle / htttrack / httrack-3.41-3.exe / {app} / src / htsjava.h < prev    next >
C/C++ Source or Header  |  2007-02-03  |  2KB  |  73 lines

  1. /* ------------------------------------------------------------ */
  2. /*
  3. HTTrack Website Copier, Offline Browser for Windows and Unix
  4. Copyright (C) Xavier Roche and other contributors
  5.  
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License
  8. as published by the Free Software Foundation; either version 2
  9. of the License, or any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  19.  
  20.  
  21. Important notes:
  22.  
  23. - We hereby ask people using this source NOT to use it in purpose of grabbing
  24. emails addresses, or collecting any other private information on persons.
  25. This would disgrace our work, and spoil the many hours we spent on it.
  26.  
  27.  
  28. Please visit our Website: http://www.httrack.com
  29. */
  30.  
  31.  
  32. /* ------------------------------------------------------------ */
  33. /* File: Java classes parser .h                                 */
  34. /* Author: Yann Philippot                                       */
  35. /* ------------------------------------------------------------ */
  36.  
  37.  
  38. #ifndef HTSJAVA_DEFH
  39. #define HTSJAVA_DEFH 
  40.  
  41. #ifndef HTS_DEF_FWSTRUCT_JAVA_HEADER
  42. #define HTS_DEF_FWSTRUCT_JAVA_HEADER
  43. typedef struct JAVA_HEADER JAVA_HEADER;
  44. #endif
  45. struct JAVA_HEADER {
  46.   unsigned long  int magic;
  47.   unsigned short int minor;
  48.   unsigned short int major;
  49.   unsigned short int count;
  50. };
  51.  
  52. #ifndef HTS_DEF_FWSTRUCT_RESP_STRUCT
  53. #define HTS_DEF_FWSTRUCT_RESP_STRUCT
  54. typedef struct RESP_STRUCT RESP_STRUCT;
  55. #endif
  56. struct RESP_STRUCT {
  57.   int file_position;
  58.   //
  59.   unsigned int index1;
  60.   unsigned int type;
  61.   char name[1024];
  62. };
  63.  
  64.  
  65. /* Library internal definictions */
  66. #ifdef HTS_INTERNAL_BYTECODE
  67.  
  68. EXTERNAL_FUNCTION int hts_plug_java(httrackp *opt, const char* argv);
  69.  
  70. #endif
  71.  
  72. #endif
  73.